﻿using System.Windows.Forms.Design;
using RayDen.Library.Entity.Scene;

namespace UITools
{
    public class TextureViewControl : System.Windows.Forms.UserControl
    {
        public TextureInfo Texture { get; set; }
        public string TextureName { get { return this.Texture.Name; } }
        private TextureViewForm viewForm;

        public TextureViewControl(
            TextureInfo texture,
            IWindowsFormsEditorService editorService)
        {
            // This call is required by the designer.
            InitializeComponent();
        }

        private void InitializeComponent()
        {
            //this.squarePanel = new System.Windows.Forms.Panel();
            //this.circlePanel = new System.Windows.Forms.Panel();
            //this.SuspendLayout();
            ////  
            //// squarePanel 
            ////  
            //this.squarePanel.Location = new System.Drawing.Point(8, 10);
            //this.squarePanel.Name = "squarePanel";
            //this.squarePanel.Size = new System.Drawing.Size(60, 60);
            //this.squarePanel.TabIndex = 2;
            ////  
            //// circlePanel 
            ////  
            //this.circlePanel.Location = new System.Drawing.Point(80, 10);
            //this.circlePanel.Name = "circlePanel";
            //this.circlePanel.Size = new System.Drawing.Size(60, 60);
            //this.circlePanel.TabIndex = 3;
            ////  
            //// LightShapeSelectionControl 
            ////  
            //this.Controls.Add(this.squarePanel);
            //this.Controls.Add(this.circlePanel);
            //this.Name = "LightShapeSelectionControl";
            //this.Size = new System.Drawing.Size(150, 80);
            //this.ResumeLayout(false);

        }

        protected override void Dispose( bool disposing )
		{
			if( disposing )
			{
                if (viewForm != null)
                    viewForm.Dispose();
			}
			base.Dispose( disposing );
		}
    }
}